<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script>
		var myObj = {};
		var myArray = [ "你好", "极客", "标签" ];
		if(Object.prototype.toString.call(myObj) == '[object Object]'){
			console.log('myObj 是对象')
		}
		if(Object.prototype.toString.call(myArray) == '[object Array]'){
			console.log('myArray 是数组');
		}
		if(Object.prototype.toString.call(Object.prototype.toString.call(null)) == '[object Null]'){
			console.log('null 是空');
		}
		if(Object.prototype.toString.call(Object.prototype.toString.call(undefined)) == '[object Undefined]'){
			console.log('undefined 是 Undefined');
		}
		if(Object.prototype.toString.call(Object.prototype.toString.call(123))  == '[object Number]'){
			console.log('123 是 数字');
		}
		console.log(Object.prototype.toString.call(myArray));
	</script>
</html>
